﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WindowsFormsApplication1
{
    public partial class FrmNhanvien : Form
    {
        public FrmNhanvien()
        {
            InitializeComponent();
        }

        private void Form2_Load(object sender, EventArgs e)
        {
            var kn = new Ketnoi(FrmMain.chuoiketnoi);
            dataGridView1.DataSource = kn.ExcuteQuery("select * from nhan_vien");
        }
    }
}
